﻿using BCCommon.OAEnums;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCEntity.OA.TeamWorks.TaskRecord
{
    /// <summary>
    /// 任务处理记录
    /// </summary>
    public class TaskHandleRecordEntity
    {
        /// <summary>
        /// 任务处理记录Id
        /// </summary>
        public long TaskHandleRecordId { get; set; }
        /// <summary>
        /// 任务记录编号
        /// </summary>
        public string TaskRecordNo { get; set; }
        /// <summary>
        /// 处理人管理员Id
        /// </summary>
        public long HandlerAdminId { get; set; }
        /// <summary>
        /// 处理人管理员姓名
        /// </summary>
        public string HandlerAdminFullName { get; set; }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime HandleTime { get; set; }
        /// <summary>
        /// 处理状态(待处理、已回执、已通过、已驳回、已完成)
        /// </summary>
        public OATaskHandleStatus HandleStatus { get; set; }
        /// <summary>
        /// 处理备注
        /// </summary>
        public string HandleRemark { get; set; }
        /// <summary>
        /// 当前步骤
        /// </summary>
        public int CurrentlyStep { get; set; }
        /// <summary>
        /// 任务处理用时秒数
        /// </summary>
        public int WorkTime { get; set; }
        /// <summary>
        /// 任务处理用时时间文本
        /// </summary>
        public string WorkTimeName { get; set; }
        /// <summary>
        /// 已超时
        /// </summary>
        public bool IsTimeout { get; set; }
    }
}
